package com.justdoit.facedemo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Bean;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
//指定数据库表
@TableName(value = "meeting_minutes")
public class Meeting {
    @TableId( type =IdType.AUTO ,value = "meeting_id")
    private Integer meetingId;
    //会议召开者
    private Integer userId;
    //会议状态
    private String state;
    //会议主题描述
    private String conferenceTheme;
    //会议内容描述
    private String contentDescription;
    //开会的地点
    private String address;
    //会议开始时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private String startTime;
    //会议结束时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private String endTime;
}

